*settlement eq
relogit dvset la1s3b nojointdem parity alliance noethties endriv5b jstale2vf timedvset1 nojointstrval if endmopogb==1 & dvsqb==1


*challenger terms
logit favorcb slc3b oneethval1 onebenconst1 milratio if dvset==1, robust

*target terms
logit favortb slt3b oneethval2 onebenconst2 omilratio onestrval2 if dvset==1


*heckman

*challenger
heckprob favorcb slc3b oneethval1 onebenconst1 milratio if endmopogb==1 & dvsqb==1, robust sel(dvset=la1s3b nojointdem parity alliance noethties endriv5b jstale2vf timedvset1 nojointstrval)
*target
heckprob favortb slt3b oneethval2 onebenconst2 omilratio onestrval2 if endmopogb==1 & dvsqb==1, robust sel(dvset=la1s3b nojointdem parity alliance noethties endriv5b jstale2vf timedvset1 nojointstrval)



